<template>
	<view class="qilin-box-navBar">
		<view class="qilin-box-navBar-search iconfont icon-sousuo"></view>
		<view class="qilin-box-navBar-text">
			<navigator open-type="switchTab" url="/pages/index/index">推荐</navigator>
			<navigator open-type="navigate" url="/pages/city/city">同城</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				
			}
		},
		mounted(){
			// console.log(getCurrentPages());
		}
	}
</script>

<style>
.qilin-box-navBar{
	position:fixed;
	width:100%;
	height:70rpx;
	line-height:70rpx;
	/* top:50rpx; */
	left:0;
	/* background-color:#181725; */
	color:#fff;
	font-size:30rpx;
	z-index:2;
	padding-top:50rpx;
}
.qilin-box-navBar-search{
	position:absolute;
	/* top:0; */
	left:0;
	width:20%;
	text-align:center;
	font-size:40rpx;
}
.qilin-box-navBar-text{
	text-align:center;
}
.qilin-box-navBar-text>navigator{
	margin:0 20rpx;
	display:inline-block;
}
</style>
